﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.Sql;
using System.Data.Common;
using Nova_BLL;
using Nova_DAL;

public partial class System_Menu_Menu : System.Web.UI.Page
{
    DbHelper dbHelper = new DbHelper();
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            bind();
        }
    }

    protected void bind()
    {
        string strSQL = "select * from tbMenu";
        DbCommand cmd = dbHelper.GetSqlStringCommond(strSQL);

        DataSet ds = dbHelper.ExecuteDataSet(cmd);

        GridView1.DataSource = ds;
        GridView1.DataBind();
    }

    protected void lbtnEdit_Click(object sender, EventArgs e)
    {

    }
    protected void lbtnDel_Click(object sender, EventArgs e)
    {

    }
}
